#include <iostream>
#include "Son1.h"
#include "Son2.h"
int main() {
    Son1 son1;
    Son2 son2;
    son1.iam();
    cout << endl;
    son2.iam();
    cout << endl;
    Base * b1 = new Son1;
    b1->iam();
    cout << endl;
    Base * b2 = new Son2;
    b2->iam();
    return 0;
}
